The Print-File Formats ('pfil') Resource
The print-file formats resource is used to specify driver-specific output file formats to display to the user for the print-to-file option. Each format name specified in this resource is displayed in the list of file formats shown in the standard file dialog box when the user confirms the Print dialog box after selecting the "Destination" option.Figure 6-22 shows the structure of a print-file formats resource.
Figure 6-22 The print file formats resource
The print-file formats resource consists of a count and a number of file format names.
Listing 6-20 shows an example of a print-file formats resource that defines the file format name for the LaserWriter IIg printer driver.
- Count. The number of file format names that follow in this resource.
- File format name. The Pascal string name to use when creating the output file.
Listing 6-20 An example of a print-file formats resource
resource 'pfil' ( gxDriverFileFormatID, sysHeap, purgeable) { { "PostScript(TM)" }; };
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help